package eip.chapter2.architecture;

public class EchoComponent {

	public void echo(Object received) {
		if (received instanceof String) {
			System.out.println("Object received:" + received);	
		} else {
			System.out.println("Object received:" + new String((byte[])received));
		}
	}
}
